package com.crm.model.vo.messageManager;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
public class MessageVO {

    private String messageId;  //消息id

    private String senderId;  //发送人id

    private String senderName;  //发送人名称

    @JsonFormat(shape=JsonFormat.Shape.STRING,pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date sendTm;  //发送时间

    private String receiverId;  //接收人id

    private String receiverName;  //接收人名称

    @JsonFormat(shape=JsonFormat.Shape.STRING,pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date receiverTm;  //接收时间

    @JsonFormat(shape=JsonFormat.Shape.STRING,pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date createTm;  //创建时间

    private String theme;  //主题

}
